package com.jdz.entities;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class AirGps {
    int id;
    double lat_d;
    double lat_m;
    double lat_s;
    double long_d;
    double long_m;
    double long_s;
    double h_s;



    public double[] toArray()
    {
        double[] d = new double[7];
        d[0] = long_d;
        d[1] = long_m;
        d[2] = long_s;
        d[3] = lat_d;
        d[4] = lat_m;
        d[5] = lat_s;
        d[6] = h_s;
        return d;
    }
}
